Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: init Rego linting #313

Merged
merged 1 commit into from
Jan 14, 2025
Merged

ci: init Rego linting #313

merged 1 commit into from
Jan 14, 2025

Conversation

nikpivkin
Copy link
Contributor

@nikpivkin nikpivkin commented Jan 10, 2025

This PR adds linting for Rego with two rules:

  1. Only allow the following package namespaces, otherwise the check will be ignored by Trivy: builtin,lib,defsec,appshield.
  2. Disallowing rules whose names start with deny_ to avoid the problems described in this PR.

Signed-off-by: Nikita Pivkin <[email protected]>
@nikpivkin nikpivkin marked this pull request as ready for review January 10, 2025 10:35
@nikpivkin nikpivkin requested a review from simar7 as a code owner January 10, 2025 10:35
@simar7 simar7 added this pull request to the merge queue Jan 14, 2025
Merged via the queue into aquasecurity:main with commit f3720ad Jan 14, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants